<?php
	/**
	 *  footer.php  
	 *
	 * @version       v0.01
	 * @create time   2011-8-6
	 * @update time
	 * @author        lujiangxia
	 * @copyright     Copyright (c) 微普科技 WiiPu Tech Inc. (http://www.wiipu.com)
	 * @informaition
	 */
?>
<script src="js/TINYBox.js" type="text/javascript"></script>
 <link rel="stylesheet" href="js/TINYBox.css" type="text/css"/>
<script type="text/javascript">
<!--
	 $(function(){
		 $("#footer .sina").hover(function(){
					$(this).attr('src','images/sina_b.jpg');
					
			 },function(){
					$(this).attr('src','images/about_0.jpg');
		 })
})


//-->
</script>
	<div id="footer">
		<div id="footer_main">
			<p class="center">
				
					<?php
						$sql="select * from ".WIIDBPRE."_about  order by about_order asc,about_id desc";
						$rs=mysql_query($sql);
						$num=mysql_num_rows($rs);
						$i=1;
						while($rows=mysql_fetch_assoc($rs)){
							if ($i==$num){
								if ($site_isshowadminindex=='1' || $site_isshowcard=='1'){
									$class="class='li'";
								}else{
									$class="class='li no-bg'";
								}
								echo "<a href='about.php?id=".$rows['about_id']."' ".$class.">".$rows['about_title']."</a>";
							}else
								echo "<a href='about.php?id=".$rows['about_id']."' class='li'>".$rows['about_title']."</a>";
							$i++;
						}
						if ($site_isshowadminindex=='1'){
							$class="class='li'";
							$manage=" <a href='".$admin_dir."/index.php' class='li no-bg' target='_blank'>管理后台</a>";
						}else{
							$class="class='li no-bg'";
							$manage='';
						}
						if ($site_isshowcard=='1') echo "<a href='certificate.php' ".$class.">餐厅证照</a>";
						echo $manage;
					?>
					
					
				
			</p>
			<p class="center" style='margin-top:10px;'><?php echo $site_icp.' '.$powered?></p>
		</div>
		
	</div>
	<script type="text/javascript">
		function partjoin(){
				TINY.box.show('即将开放商家注册',0,160,60,0,10);

		}
	</script>